AmpProject\AmpWP\ReaderThemeSupportFeatures A

Total Complexity 68
Dependencies 4
Dependents 1
Total lines 558
Lines of code 243
Logical lines of code 135
Comment lines 219
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
print_theme_support_styles()
A
48 12 34
get_theme_support_features()
A
48 12 34
print_spacing_sizes_custom_properties()
A
47 9 37
print_editor_color_palette_styles()
S
51 7 29
print_editor_font_sizes_styles()
S
53 6 22
has_required_feature_props()
S
62 5 11
print_editor_gradient_presets_styles()
S
60 3 14
register()
S
56 2 19
is_reader_request()
S
70 3 7
get_relative_luminance_from_hex()
S
61 2 11
filter_amp_options_updating()
S
67 2 8
handle_theme_update()
S
69 2 7
update_cached_theme_support()
S
69 2 7
__construct()
S
81 1 3